const state = {
  word: {
    txt: "按钮"
    // radio: "1"
  },
  btnStyle: {
    color: "#fff",
    fontSize: "14px",
    textDecoration: "none",
    fontStyle: "",
    fontWeight: "",
    textAlign: "",
    width: 70,
    height: 30,
    background: "#2A96FF"
  },
  borderStyle: {
    borderRadius: "",
    borderWidth: "0",
    borderStyle: "solid",
    borderColor: "#909399"
  }
}

const mutations = {
  SET_WORD: (state, word) => {
    state.word = word
  },
  setBtnStyle: (state, btnStyle) => {
    state.btnStyle = btnStyle
  }
}

export default {
  namespaced: true,
  state,
  mutations
}
